const loop = () => null;

export const createHandler = (vm: Vue) => {
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
  // @ts-ignore
  window.$message = vm.$message || loop;
};
